
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '业务订单',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'name_f1edb1bf_ybjx',
        name: "{{name_f1edb1bf_ybjx}}",
        binding: 'name',
        defaultI18nValue: '商品名称',
    })
    name: FormControl;

    @NgFormControl({
        id: 'price_97290e27_nqcn',
        name: "{{price_97290e27_nqcn}}",
        binding: 'price',
        defaultI18nValue: '价格',
    })
    price: FormControl;

    @NgFormControl({
        id: 'sales_3feb647c_v08o',
        name: "{{sales_3feb647c_v08o}}",
        binding: 'sales',
        defaultI18nValue: '总销量',
    })
    sales: FormControl;

    @NgFormControl({
        id: 'stack_540ae487_n1n4',
        name: "{{stack_540ae487_n1n4}}",
        binding: 'stack',
        defaultI18nValue: '库存',
    })
    stack: FormControl;

}